from django.db import models
# Create your models here.
class Userinfo(models.Model):
    username = models.CharField(max_length=30)
    pwd = models.CharField(max_length=30)
    # email = models.EmailField(max_length=100)
    # address = models.CharField
    # create_time = models.DateTimeField('创建时间', auto_now_add=True)
    # update_time = models.DateTimeField('修改时间', auto_now=True)

    def __str__(self):
        return self.username
    class Meta:
        app_label = 'login'